package hs.bank.Web.Form;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.*;

@Data
@AllArgsConstructor
public class DepositForm {

    @NotNull
    @DecimalMin(value = "0.01",message = "Please input a positive number")
    private double amount;

    public DepositForm() {
    }
}
